<?php

namespace app\model;

use think\Model;

class PageDescriptions extends Model
{
    // Define the table name
    protected $name = 'page_descriptions';
    public $timestamps = false;


    // 获取协议内容
    public function getAgreement()
    {
        return $this->where('page_id', 20)->value('content');
    }
}
